package com.hb.gateway;

import cn.hutool.extra.spring.EnableSpringUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@Slf4j
@EnableSpringUtil
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.hb.gateway.client"})
public class GatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication.class, args);
        log.info("----------------- GatewayApplication 启动成功 --------------------");
    }
}
